package com.amazon.shop.bean.dto;

import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * 创建时间：10:11 2021/3/2
 *
 * @author lzj
 * @since JDK 1.8.0_171
 * 类说明：
 * <p>
 * Modification History:
 * Date         Author          Version            Description
 * ---------------------------------------------------------*
 */
@Data
public class LoginFrom extends BaseDTO {

    @NotEmpty(message = "账号必填")
    private String username;
    @NotEmpty(message = "密码必填")
    private String password;

    private String vcode;

}
